<script setup lang="ts">
import { ref } from 'vue'
import { get } from '@/utils/service'
import { VUE_APP_BASE_API } from '@/utils/baseConfig'
import { showFailToast } from 'vant'
const enterpriseBaseSet=ref({});
const agentRule=ref("");
queryEnterpriseSetMember();
function queryEnterpriseSetMember() {
  get('/enterpriseBaseSetWechatNew/queryWechat', {}).then((res) => {
    if (res.code == 0) {
       enterpriseBaseSet.value = res.data
      agentRule.value=VUE_APP_BASE_API+enterpriseBaseSet.value.agentRoleDesImage
    } else {
      showFailToast('无会员信息')
    }
  })
}
</script>
<template>
  <div style="padding: 12px">
    <div>
      <h2>推荐政策</h2>
    </div>
    <div>
      <h4>发布人:管理员 &nbsp;&nbsp;&nbsp;&nbsp;</h4>
    </div>
    <div  >
        <img :src="agentRule" style="width: 100%;"></img>
    </div>
    <div class="buyChery">买奇瑞一定来瑞一看看！！！</div>
    <br />
    <br />
    <br />
    <div class="newsFooter">
      <RouterLink to="/" class="router-link-active">返回主页</RouterLink>
      <div class="copyright">Copyright@2025 成都易成致达网络科技提供技术支持</div>
    </div>
  </div>
  <br />
</template>
